import React, { Component } from 'react';
import StarRating from './StarRating.js';

export default class App extends Component {
  render() {
    return (
      <div>
        <p>宝贝与描述相符：<StarRating  /></p>
        <p>卖家的服务态度：<StarRating  /></p>
        <p>物流服务的质量：<StarRating  /></p>
        <p>自定义星数：<StarRating size={10} score={5} /></p>

      </div>
    );
  }
}
